package cloud.shyidong.auth.service;

import cloud.shyidong.core.Result;
import cloud.shyidong.system.request.LoginRequest;
import cloud.shyidong.tenant.request.TenantLoginRequest;

/**
 * @Description TODO
 * @Author syd
 * @Date 2023/4/17
 */
public interface AuthService {
    
    Result adminLogin(LoginRequest loginRequest);
    
    Result getAdminInfo(String token);
    
    Result tenantLogin(TenantLoginRequest tenantLoginRequest);
    
    Result getTenantInfo(String token);
    
}
